﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="chat.aspx.cs" Inherits="WebApplication1.chat" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script type="text/javascript" src="js/Timer.js"></script>
    <style type="text/css">
        #t1{
            width:1500px;
            height:980px;
            background:#808080;
            margin: 0 auto;
        }
        #d1{
            width:1500px;
            height:80px;
            background:#b6ff00;
            text-align:center;
            font-size:xx-large;
            line-height:80px;
            
        }
        #divTimer{
             width:1500px;
            height:40px;
            
            line-height:40px;
            color:white;
        }
        #d2{
              width:1200px;
            height:800px;
           
            float:left;
            
            
            
        }
          #d3{
               width:300px;
            height:800px;
            padding:0,0;
            
            float:left;
           
        }
        
        #d4{
              width:1500px;
            height:100px;
            background:#b200ff;
            float:left;
             text-align:center;
            line-height:100px;
        }
        #d3d{
            width:300px;
            height:200px;
            background:#00ff90;
              text-align:center;
            line-height:40px;
        }
        #d3d2{
            width:300px;
            height:600px;        
         
    
        }
      
    </style>
</head>
    
<body  onload="startTimer()">
    
    <form id="form1" runat="server">        
       <div id="t1">
           <div>
                 <div  id="d1">欢迎使用asp.net聊天室</div>                    
                 <div id="divTimer">123</div>
             </div>

             <div  id="d2"><!--   content-->
                 <asp:TextBox ID="contentTextBox" runat="server" Height="800px" Width="1200px" TextMode="MultiLine" BackColor="#FFF29D" Font-Names="Microsoft YaHei UI" Font-Size="Larger"></asp:TextBox>
             </div>


            <div id="d3">
                <div id="d3d">
                    <asp:Label ID="Labname" runat="server" Text="Label"></asp:Label><br />
                    <asp:Label ID="Labcount" runat="server" Text="Label"></asp:Label><br />
                    <asp:Label ID="Labfirst" runat="server" Text="Label"></asp:Label><br />
                    <asp:Label ID="Lablast" runat="server" Text="Label"></asp:Label><br />
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </div>
                <div id="d3d2">
                    
                     <asp:ListBox ID="ListBox1" runat="server" Height="632px" Width="300px" Font-Names="Microsoft YaHei UI" Font-Size="Larger" ForeColor="Black" Rows="20"></asp:ListBox>
                </div>
               
                
           </div>
          

           <div id="d4">
               <asp:TextBox ID="messageTextBox" runat="server" Width="1150px" Height="60px"></asp:TextBox>
               &nbsp;&nbsp;<asp:Button ID="Button1" runat="server" Text="发送" Height="60px" Width="127px" OnClick="Button1_Click" />
               &nbsp;&nbsp;<asp:Button ID="Button2" runat="server" Text="退出" Height="60px" Width="127px" OnClick="Button2_Click" />
           </div>
           


        </div>
    </form>
</body>
</html>
